package com.sgzn.sgpay.service;

import com.sgzn.sgpay.model.request.SgsDeviceOperLogRecordRequest;
import com.sgzn.sgpay.model.request.SgsDeviceOperateLogAddRequest;
import com.sgzn.sgpay.model.request.SgsDeviceOperateLogQueryPageRequest;
import com.sgzn.sgpay.model.response.SgsResultResponse;
import com.sgzn.sgpay.model.response.result.DeviceOperateLogQueryPageResult;

/**
 * 设备日志操作记录服务
 * @author huangsenguang
 * @version Id: SgsDeviceOperateLogService.java, v 0.1 2018/6/19 8:58 huangsenguang Exp $$
 */
public interface SgsDeviceOperateLogService {
    /**
     * 新增
     * @param request
     * @return
     */
    SgsResultResponse<String> add(SgsDeviceOperateLogAddRequest request);

    /**
     * 新增记录
     * @param request
     * @return
     */
    SgsResultResponse<String> add(SgsDeviceOperLogRecordRequest request);

    /**
     * 分页查询
     * @param request
     * @return
     */
    SgsResultResponse<DeviceOperateLogQueryPageResult> queryPage(SgsDeviceOperateLogQueryPageRequest request);
}

